services.netbird.clients.<name>.config
Additional configuration that exists before the first start and later overrides the existing values in config.json.
It is mostly helpful to manage configuration ignored/not yet implemented
outside of netbird up invocation.
WARNING: this is not an upstream feature, it could break in the future (by having lower priority) after upstream implements an equivalent.
It is implemented as a preStart script which overrides config.json
with content of /etc/netbird-‹name›/config.d/*.json files.
This option manages specifically 50-nixos.json file.
Consult the source code or inspect existing file for a complete list of available configurations.
- Type
JSON value- Default
{ DisableAutoConnect = !client.autoStart; WgIface = client.interface; WgPort = client.port; } // optionalAttrs (client.dns-resolver.address != null) { CustomDNSAddress = "${client.dns-resolver.address}:${toString client.dns-resolver.port}"; }- Declared
- <nixpkgs/nixos/modules/services/networking/netbird.nix>